package cn.fucksky.blog.shiro.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 按钮表
 * </p>
 *
 * @author Wudi
 * @since 2016-12-29
 */
@TableName("sys_button_info")
public class ButtonInfo extends Model<ButtonInfo> {

    private static final long serialVersionUID = 1L;

	/**
	 * 按钮ID
	 */
	@TableId(value="BUTTON_ID")
	private String buttonId;
	/**
	 * 按钮中文名
	 */
	@TableField(value="BUTTON_CH_NAM")
	private String buttonChNam;
	/**
	 * 按钮英文名
	 */
	@TableField(value="BUTTON_EN_NAM")
	private String buttonEnNam;
	/**
	 * 是否显示 1显示 0或其他都不显示
	 */
	@TableField(value="BUTTON_SHOW")
	private String buttonShow;


	public String getButtonId() {
		return buttonId;
	}

	public void setButtonId(String buttonId) {
		this.buttonId = buttonId;
	}

	public String getButtonChNam() {
		return buttonChNam;
	}

	public void setButtonChNam(String buttonChNam) {
		this.buttonChNam = buttonChNam;
	}

	public String getButtonEnNam() {
		return buttonEnNam;
	}

	public void setButtonEnNam(String buttonEnNam) {
		this.buttonEnNam = buttonEnNam;
	}

	public String getButtonShow() {
		return buttonShow;
	}

	public void setButtonShow(String buttonShow) {
		this.buttonShow = buttonShow;
	}

	@Override
	protected Serializable pkVal() {
		return this.buttonId;
	}

}
